package com.knife.hospital.mapper;

import com.knife.hospital.entity.DoctorPO;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorPOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DoctorPO record);

    int insertSelective(DoctorPO record);

    DoctorPO selectByPrimaryKey(@Param("id") Integer id);

    int updateByPrimaryKeySelective(DoctorPO record);

    int updateByPrimaryKey(DoctorPO record);

    List<DoctorPO> selectByDepartment(Integer id);
}